﻿using System;

namespace VsxTools.Attributes
{
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class CommandIdAttribute : Attribute
    {
        private readonly Guid _guid;
        private readonly uint _command;

        public CommandIdAttribute(string guid, uint command)
        {
            _guid = new Guid(guid);
            _command = command;
        }

        public Guid Guid
        {
            get { return _guid; }
        }

        public uint Command
        {
            get { return _command; }
        }
    }
}
